Skip to content

Generalize Google Voice sender config - #81

Merged
Pigbibi merged 1 commit into
mainfrom
google-voice-generic-sender-config
May 25, 2026
Merged

Generalize Google Voice sender config#81
Pigbibi merged 1 commit into
mainfrom
google-voice-generic-sender-config

Conversation

@Pigbibi

@Pigbibi Pigbibi commented May 25, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • rename Google Voice sender config from Gmail-specific names to provider-neutral SENDER_* names
  • add optional SMTP host/port/security overrides for non-Gmail senders while keeping Gmail SMTP defaults in QPK
  • update QPK/strategy pins and Cloud Run env sync cleanup for old GMAIL_* names

Tests

  • PYTHONPATH=/home/ubuntu/Projects/QuantPlatformKit/src:/home/ubuntu/Projects/UsEquityStrategies/src:. .venv/bin/python -m pytest tests/test_runtime_config_support.py tests/test_request_handling.py
  • bash tests/test_sync_cloud_run_env_workflow.sh
  • .venv/bin/python -m ruff check .

@Pigbibi
Pigbibi merged commit d804112 into main May 25, 2026
1 check passed
@Pigbibi
Pigbibi deleted the google-voice-generic-sender-config branch May 25, 2026 10:15

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1c8268d216

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

"CRISIS_ALERT_SMTP_SSL"
)
remove_secret_vars=("CRISIS_ALERT_SMTP_PASSWORD")
remove_secret_vars=("CRISIS_ALERT_SMTP_PASSWORD" "CRISIS_ALERT_GOOGLE_VOICE_GMAIL_APP_PASSWORD")

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Keep legacy GV password secret until replacement exists

When a repo is still configured with CRISIS_ALERT_GOOGLE_VOICE_GMAIL_APP_PASSWORD/..._SECRET_NAME and has not yet added the new CRISIS_ALERT_GOOGLE_VOICE_SENDER_PASSWORD* settings, this workflow now removes the old Cloud Run secret binding unconditionally but never re-adds an equivalent value under the new name. In that migration state, the sync job succeeds yet Google Voice alert sending loses its SMTP credential on the next deploy, causing production alert delivery to stop silently.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant